package com.sikaryofficial.backend.config;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @author : qinjinyuan
 * @desc : 产品信息相关配置
 * @date : 2024/06/03 13:36
 */
@Getter
@Setter
@Configuration
@RefreshScope
@ConfigurationProperties(prefix = "product.qrcode")
@Slf4j
public class ProductConfig {
    /**
     * 二维码可下载列表时间间隔,单位天
     */
    private Integer amountToSubtract;
}
